users.users.<name>.enable
If set to false, the user account will not be created. This is useful for when you wish to conditionally disable user accounts.
- Type
boolean- Default
true- Example
false- Declared
- <nixpkgs/nixos/modules/config/users-groups.nix>